package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cx.mapper.ContentinfoMapper;
import java.util.List;
import com.cx.entity.Contentinfo;
import com.cx.service.ContentinfoService;
@Service
public class ContentinfoServiceImpl implements ContentinfoService{

    @Resource
    private ContentinfoMapper contentinfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return contentinfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Contentinfo record) {
        return contentinfoMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(Contentinfo record) {
        return contentinfoMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Contentinfo record) {
        return contentinfoMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(Contentinfo record) {
        return contentinfoMapper.insertSelective(record);
    }

    @Override
    public Contentinfo selectByPrimaryKey(Integer id) {
        return contentinfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Contentinfo record) {
        return contentinfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Contentinfo record) {
        return contentinfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Contentinfo> list) {
        return contentinfoMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Contentinfo> list) {
        return contentinfoMapper.batchInsert(list);
    }

}
